/*
 * Copyright (c) 2017. 深圳掌控网络有限公司. All rights reserved.
 */

package com.yiqi.lottery.feature.mine.contract;

import com.suozhang.framework.framework.BasePresenter;
import com.suozhang.framework.framework.BaseView;
import com.yiqi.lottery.entity.bo.BaseBo;
import com.yiqi.lottery.entity.bo.RegisterBo;
import com.yiqi.lottery.entity.bo.StationBo;
import com.yiqi.lottery.entity.bo.WithdrawBo;
import io.reactivex.Observable;

/**
 *      LIJUWEN
 * @email yiyayiyayaoljw@gmail.com
 * @date 2017/4/11 9:06
 */
public interface StationContract {

    interface Model {

        Observable<StationBo> getStationInfo();

        Observable<String> editWithDraw(WithdrawBo withdrawBo);
        Observable<WithdrawBo> editWithDraw();
    }

    interface View extends BaseView {

        void showStationInfoSuccess(StationBo msg);
        void showEditWithDrawSuccess(String msg);
        void showGetWithDrawSuccess(WithdrawBo msg);
        void showError(String msg);

    }


    interface Presenter extends BasePresenter {
        void getStationInfo();

        void editWithDraw(String withdraw_account, String withdraw_name, String withdraw_phonw);
        void getWithDraw();
    }
}
